/***********************************************
 * Title:       CertificateLevel.java
 * Description: CertificateLevel.java
 * Author:      Niyuzhe
 * Create Date: 2010-3-3
 * CopyRight:   CopyRight(c)@2009
 * Company:     TJUSCS
 * Version:     1.0
 ***********************************************
 */
package edu.tju.student.certificate;

/**
 * @author Niyuzhe
 *
 */
public class CertificateLevel
{
        private long id;
        private long certificateId;
        private String name;
        private int sequence;
        /**
         * @return the id
         */
        public long getId()
        {
                return id;
        }
        /**
         * @param id the id to set
         */
        public void setId(long id)
        {
                this.id = id;
        }
        /**
         * @return the certificateId
         */
        public long getCertificateId()
        {
                return certificateId;
        }
        /**
         * @param certificateId the certificateId to set
         */
        public void setCertificateId(long certificateId)
        {
                this.certificateId = certificateId;
        }
        /**
         * @return the name
         */
        public String getName()
        {
                return name;
        }
        /**
         * @param name the name to set
         */
        public void setName(String name)
        {
                this.name = name;
        }
        /**
         * @return the sequence
         */
        public int getSequence()
        {
                return sequence;
        }
        /**
         * @param sequence the sequence to set
         */
        public void setSequence(int sequence)
        {
                this.sequence = sequence;
        }
        /* (non-Javadoc)
         * @see java.lang.Object#toString()
         */
        @Override
        public String toString()
        {
                return "CertificateLevel [certificateId=" + certificateId + ", id=" + id
                                + ", name=" + name + ", sequence=" + sequence + "]";
        }
}
